# 远程服务器信息
# TODO
HPC_HOST = "10.251.171.6"
HPC_PORT = 25539
HPC_USER = "u200111629"
HPC_PASS = "***"


# 定义url
IP = "http://10.249.40.126:7860/"
URL_SPEAKERS = IP + "speakers"
URL_DELETE = IP + "delete"
URL_TRAIN = IP + "train"
URL_TRAININFO = IP + "traininfo"
URL_TTS = IP + "tts"
URL_PRETXT = IP + "pretxt"

# route
API = "/api"
UPLOAD_FILES_API = API + "/upload/file"
TTS_API = API + "/tts"
TRAIN_API = TTS_API + "/train"
TRAININFO_API = TTS_API + "/traininfo"
MODELS_API = TTS_API + "/models"
DELETE_API = TTS_API + "/delete"
CHECKTEXT = TTS_API + "/checktext"
TTS_SYSTHESIS_API = TTS_API + "/synthesis"
SPEED_API = TTS_API + "/speed"

SADTALKER_API = API + "/sadtalker"
GEN_API = SADTALKER_API + "/gen"
CHECK_FACE_VIDEO_API = SADTALKER_API + "/check"

FINAL_VIDEO_API = API + "/final"
MERGE_VIDEO_API = FINAL_VIDEO_API + "/merge"
CHECK_FINAL_VIDEO_API = FINAL_VIDEO_API + "/check"
